projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b972bd8
)
(ENCODE_SJIS_BIG5_CHARACTER): Encode charset
author
Kenichi Handa
<handa@m17n.org>
Wed, 2 Jun 1999 23:44:53 +0000
(23:44 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 2 Jun 1999 23:44:53 +0000
(23:44 +0000)
latin-jisx0201 correctly.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index 1e2e2406ab7a794a422f4f48075e37317fe13f37..ff684d567bc60c0a852438a86418d1b91c07c3a6 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-2155,6
+2155,8
@@
encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
{ \
if (sjis_p && charset_alt == charset_katakana_jisx0201) \
*dst++ = c1; \
+ else if (sjis_p && charset_alt == charset_latin_jisx0201) \
+ *dst++ = c1 & 0x7F; \
else \
{ \
*dst++ = charset_alt, *dst++ = c1; \